package com.art.dao;

import com.art.entity.User;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

/**
 * IntelliJ IDEA
 *
 * @author 谭礼赞 2038940123
 * @since 2022-11-07-2022/11/7
 */

public interface UserMapper {
    @Select("select * from t_user where uname =#{uname} and pwd =#{pwd}")
    User getUser(@Param("uname") String uname,@Param ( "pwd" ) String pwd);
}
